﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ComModel;
using ComDAL ;
namespace ComBLL
{
    public class xianbll
    {
        xiandal dal = new xiandal();
        /// <summary>
        /// tb_board（版面信息表）显示
        /// </summary>
        /// <returns></returns>
        public List<ComModel.boardModel> showboard()
        {
            return dal.showboard();
        }

        /// <summary>
        /// tb_board（版面信息表）显示
        /// </summary>
        /// <returns></returns>
        public List<ContentModel> showContent()
        {
            return dal.showContent();

        }

        /// <summary>
        /// 总条数
        /// </summary>
        /// <returns></returns>
        public int countContent()
        {
            return dal.countContent();
        }


        /// <summary>
        /// 详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ContentModel xiangContentModel(int id)
        {

            return dal.xiangContentModel(id);
           
        }



        /// <summary>
        /// 回帖信息表
        /// </summary>
        /// <returns></returns>
        public List<ReplyModel> showReplyModel(int rid)
        {

            return dal.showReplyModel(rid);


        }

    }
}
